package com.wl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wl.entity.FunctionTree;

import java.util.List;

public interface FunctionTreeService extends IService<FunctionTree> {

    int updateTree(Long parentId, List<FunctionTree> trees);

    int addTree(Long parentId,String name);

    List<FunctionTree> tree();

    List<FunctionTree> query(String name);
}
